package org.chen.newsapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.newsapi.common.Page;
import org.chen.newsapi.common.Result;
import org.chen.newsapi.dto.ArticleDetailVO;
import org.chen.newsapi.dto.ArticleIndex;
import org.chen.newsapi.dto.UserArticleQueryParam;
import org.chen.newsapi.entity.Article;

public interface ArticleService extends IService<Article> {
    Page<ArticleIndex> getArticles(UserArticleQueryParam param);
    Result<ArticleDetailVO> getArticleDetail(String articleId);
}